package com.koalac.ironman.util;

import android.os.Build;

/**
 * 判断版本的部分方法，需要才调用，一般无所谓
 * 
 * @description
 * @author chenxiaohua
 * @Date 2014 2014-7-9
 */
public class VersonUtils {
	private VersonUtils() {
	};

	public static boolean hasFroyo() {
		return Build.VERSION.SDK_INT >= 8;
	}

	public static boolean hasGingerbread() {
		return Build.VERSION.SDK_INT >= 9;
	}

	public static boolean hasHoneycomb() {
		return Build.VERSION.SDK_INT >= 11;
	}

	public static boolean hasHoneycombMR1() {
		return Build.VERSION.SDK_INT >= 12;
	}

	public static boolean hasJellyBean() {
		return Build.VERSION.SDK_INT >= 16;
	}
}
